import baseApi from '@/contentUtils/content.request'

export const keyLogin = (data ) =>{
    const params = {
        url: '/login!keyLogin.do',
        data: data,
        method: 'POST'
    }
    return baseApi(params)
}

export const getConfig = () =>{
    const params = {
        url: '/api/system/globalConfig',
        method: 'GET'
    }
    return baseApi(params)
}